package com.itheima.demo02;

import java.io.File;
import java.io.IOException;

public class FileClass05 {
    public static void main(String[] args) {
        File file = new File("day11\\aaa");
        if (!file.isDirectory()) {
            file.mkdirs();
        }
        try {
            File file1 = new File("day11\\aaa\\aa.txt");
            file1.createNewFile();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
